/*

 * Copyright (c) 2006 HutCabb Consulting Pte Ltd,

 * All Rights Reserved.

 * This work contains trade secrets and confidential material of

 * HutCabb Consulting Pte Ltd.

 *

 * Warning: Any unauthorised dissemination, disclosure or use of the content

 * in whole or in part without the explicit consent of HutCabb Consulting

 * Pte Ltd will be deemed as intellectual property infindgement and the

 * offender will be subjected to legal actions.

 *

 * Project  : cmc

 * Name   : GenericDAO.java

 *

 * Modification History:

 * Date - Feb 3, 2006

 * Ver.No - 1.0

 * Modified by - Administrator

 * Brief Description of Modification - Creation

 */


package com.virtium.vpm.dao;

import java.util.List;

import org.hibernate.Session;

import com.virtium.vpm.dao.hibernate.DAOException;

 


public interface GenericDAO {
	
	public void closeSession();
	
	public Session currentSession(boolean enableFilter);
	
    public List executeQuery(boolean enableFilter, String query) 
	throws DAOException ;	
}


